package com.bupt.jack.model;

/**
 * Group entity. @author MyEclipse Persistence Tools
 */

public class Group implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -7592072774607661092L;
	private Long id;
	private String name;
	private String intro;
	private Integer num;
	private Long groupItemId;
	private Long creatorId;
	private Integer type;

	// Constructors

	/** default constructor */
	public Group() {
	}

	/** minimal constructor */
	public Group(Long id) {
		this.id = id;
	}

	/** full constructor */
	public Group(Long id, String name, String intro, Integer num,
			Long groupItemId, Long creatorId, Integer type) {
		this.id = id;
		this.name = name;
		this.intro = intro;
		this.num = num;
		this.groupItemId = groupItemId;
		this.creatorId = creatorId;
		this.type = type;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIntro() {
		return this.intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public Integer getNum() {
		return this.num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public Long getGroupItemId() {
		return this.groupItemId;
	}

	public void setGroupItemId(Long groupItemId) {
		this.groupItemId = groupItemId;
	}

	public Long getCreatorId() {
		return this.creatorId;
	}

	public void setCreatorId(Long creatorId) {
		this.creatorId = creatorId;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

}